QT += core gui quick widgets concurrent

CONFIG += c++11
RC_ICONS = logo.ico

SOURCES += \
    src/main.cpp \
    src/miniply.cpp \
    src/occt_widget.cpp \
    src/pcl_module.cpp \
    src/utils.cpp \
    src/view_bridge.cpp

HEADERS += \
    src/miniply.h \
    src/occt_widget.h \
    src/pcl_module.h \
    src/utils.h \
    src/view_bridge.h

RESOURCES += \
    resource.qrc

target.path = $$PWD/bin
INSTALLS += target

MOC_DIR += $$PWD/build
OBJECTS_DIR += $$PWD/build
DESTDIR += $$PWD/build

LIBS += -LD:/Env/PCL1.8.1/lib
LIBS += -LD:/Env/OCCT/win64/vc14/lib
LIBS += -LD:/Env/PCL1.8.1/3rdParty/Boost/lib

INCLUDEPATH += \
    D:/Env/PCL1.8.1/3rdParty/Boost/include/boost-1_64 \
    D:/Env/PCL1.8.1/3rdParty/Eigen/eigen3 \
    D:/Env/PCL1.8.1/3rdParty/FLANN/include \
    D:/Env/PCL1.8.1/include/pcl-1.8 \
    D:/Env/OCCT/inc

LIBS += -lTKDESTEP \
-lTKBin \
-lTKBinL \
-lTKBinXCAF \
-lTKBO \
-lTKBool \
-lTKBRep \
-lTKCAF \
-lTKCDF \
-lTKernel \
-lTKG2d \
-lTKG3d \
-lTKGeomAlgo \
-lTKGeomBase \
-lTKHLR \
-lTKLCAF \
-lTKMath \
-lTKMesh \
-lTKMeshVS \
-lTKOpenGl \
-lTKPrim \
-lTKService \
-lTKShHealing \
-lTKTopAlgo  \
-lTKXSDRAW \
-lTKV3d  \
-lTKVCAF \
-lTKXCAF \
-lTKXml \
-lTKXmlL \
-lTKXmlXCAF \
-lTKXSBase \
-lTKRWMesh

CONFIG(debug, debug|release) \
{LIBS += \
    -lpcl_common_debug \
    -lpcl_features_debug \
    -lpcl_filters_debug \
    -lpcl_io_ply_debug \
    -lpcl_io_debug \
    -lpcl_kdtree_debug \
    -lpcl_keypoints_debug \
    -lpcl_ml_debug \
    -lpcl_octree_debug \
    -lpcl_outofcore_debug \
    -lpcl_people_debug \
    -lpcl_recognition_debug \
    -lpcl_registration_debug \
    -lpcl_sample_consensus_debug \
    -lpcl_search_debug \
    -lpcl_segmentation_debug \
    -lpcl_stereo_debug \
    -lpcl_surface_debug \
    -lpcl_tracking_debug \
    -lpcl_visualization_debug \
}

CONFIG(release, debug|release) \
{LIBS += \
    -lpcl_common_release \
    -lpcl_features_release \
    -lpcl_filters_release \
    -lpcl_io_ply_release \
    -lpcl_io_release \
    -lpcl_kdtree_release \
    -lpcl_keypoints_release \
    -lpcl_ml_release \
    -lpcl_octree_release \
    -lpcl_outofcore_release \
    -lpcl_people_release \
    -lpcl_recognition_release \
    -lpcl_registration_release \
    -lpcl_sample_consensus_release \
    -lpcl_search_release \
    -lpcl_segmentation_release \
    -lpcl_stereo_release \
    -lpcl_surface_release \
    -lpcl_tracking_release \
    -lpcl_visualization_release \
}
